// 学期
export default [
  // getWeeks
  {
    url: '/api/college/semester/weeks',
    type: 'get',
    response: _ => {
      return {
        code: 20000,
        data: {
          'total': '20',
          'weeks': [
            {
              'id': '1',
              'name': '1'
            },
            {
              'id': '2',
              'name': '2'
            },
            {
              'id': '3',
              'name': '3'
            },
            {
              'id': '4',
              'name': '4'
            },
            {
              'id': '5',
              'name': '5'
            }
          ]
        }
      }
    }
  },
  // get all semesters
  {
    url: '/api/semesters',
    type: 'get',
    response: _ => {
      return {
        code: 20000,
        data: {
          'total': '6',
          'semesterList': [
            {
              'id': '2019202001',
              'college_id': '1010101001',
              'create_time': '2020-2-2',
              'by_who': '201724113132',
              'name': '2019-2020第一学期',
              'english_name': 'The first semester of 2019-2020'
            },
            {
              'id': '2019202002',
              'college_id': '1010101001',
              'create_time': '2020-2-2',
              'by_who': '201724113132',
              'name': '2019-2020第二学期',
              'english_name': 'The second semester 2019-2020'
            },
            {
              'id': '2020202101',
              'college_id': '1010101001',
              'create_time': '2020-2-2',
              'by_who': '201724113132',
              'name': '2020-2021第一学期',
              'english_name': 'The first semester of 2020-2021'
            },
            {
              'id': '2020202102',
              'college_id': '1010101001',
              'create_time': '2020-2-2',
              'by_who': '201724113132',
              'name': '2020-2021第二学期',
              'english_name': 'The second semester 2020-2021'
            },
            {
              'id': '2021202201',
              'college_id': '1010101001',
              'create_time': '2020-2-2',
              'by_who': '201724113132',
              'name': '2021-2022第一学期',
              'english_name': 'The first semester of 2021-2022'
            },
            {
              'id': '2021202202',
              'college_id': '1010101001',
              'create_time': '2020-2-2',
              'by_who': '201724113132',
              'name': '2021-2022第二学期',
              'english_name': 'The second semester 2021-2022'
            }
          ]
        }
      }
    }
  }
]
